home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / clarion.arc / TWIN.HLP (.txt) < prev    next >
Clarion Help  |  1991-07-24  |  76KB  |  1,652 lines

  1.  Main Menu 
  2.      Title
  3. Description
  4.   Field
  5. Field
  6.  Data Window 
  7.   Select
  8. Field
  9.   Field
  10. Field
  11. Title
  12. Error messages
  13.   Prompt:Field
  14.   Prompt:Selected Field  
  15.  Lookup 
  16.   Prompt:Field
  17. Worksheet Area
  18. Field
  19. Selected
  20. Field
  21.  !Text
  22. Field
  23.  Structure Lines 
  24. Current Line
  25. Status Line
  26.  #Change this Clarion Environment Color
  27.  +Main Menu
  28. Lookup
  29. Worksheet
  30. Action Menu
  31. Border
  32.  This window lists the screen  
  33.  elements that we can repaint. 
  34.  Let's repaint the prompt  
  35.  words in the Data Window. 
  36.  Now we press Ctrl-Enter to lock in our new 
  37.  colors and return to Tailor's base window. 
  38. COPY  Marked Files
  39. PHONEBK.DAT
  40. Mark block to COPY, then press Enter
  41. Format New Structure
  42.   Type:Screen
  43. Screen  Report  
  44. Get File
  45.   Filename:
  46. Jump to Line
  47.   Jump to:
  48. Search and Replace
  49.   Search for
  50. Ignore Case
  51. Yes  No
  52.   Replace String
  53. Yes  No
  54. Replace with
  55. Confirm Replace:No
  56. Yes  No
  57. Within Block
  58. Yes  No
  59. Track Type
  60. Single 
  61.   Double 
  62.   Block
  63.  Mixed
  64.  Mixed
  65. ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?  
  66.   @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _  
  67.   ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 
  68. Execute
  69.   Command:
  70.   11/25/87
  71. The Clarion Director
  72. 8:32AM 
  73.   DOS Command:
  74.   Pattern
  75.   Sort By
  76. :Name
  77. As Is
  78.   Sort Order :
  79.   Show Hidden:No
  80. Yes No 
  81. C:\PHONES
  82.   DOS Pause  :No
  83. Yes No
  84. (Parent)  9-16-87 10:44a
  85. PHONEBK  DAT
  86. 2,767 11-13-87 11:39a
  87.   47 Files :
  88. 255,917 
  89. PHONEBK  K01
  90. 2,048 11-09-87  4:28p
  91. 0 Marked:
  92. PHONES
  93. 6,626 11-13-87 11:11a
  94.  Capacity  :  21,309,440 
  95. PHONES
  96. 292 11-24-87  3:18p
  97.   In Use
  98. :  20,809,728 
  99. PHONES
  100. 998 11-05-87  9:49a
  101.   Available:
  102. 499,712 
  103. PHONES
  104. 1,069 11-13-87 11:11a
  105. PHONES
  106. 128,745 11-24-87  1:33p
  107.  ^Copy
  108. ^Print
  109. PHONES
  110. 767 11-19-87  8:48a
  111.  ^Delete
  112. ^Rename  
  113. PHONES
  114. 2,580 11-13-87 11:11a
  115.  ^Flashback
  116. ^Select  
  117. PHONES
  118. 1,897 11-13-87 11:11a
  119.  ^Go to
  120.      ^Tape
  121. PHONES
  122. 1,501 11-24-87  3:18p
  123.  ^List
  124. ^Unmark  
  125. PHONES
  126. 966 11-13-87 11:11a
  127.  ^Mark
  128. ^eXecute 
  129. PHONES
  130. 335 11-13-87 11:13a
  131.  This is the Director tutorial.
  132.  Director is a DOS shell that is used to execute DOS  
  133.  commands and to display and process DOS directories. 
  134.  This is Director's base window.
  135.  The box to the left shows the space used
  136.  by files in the current directory and the  
  137.  total space used on the current drive.
  138.  DOS commands can be entered at the cursor. 
  139.  We have elected not to pause after a
  140.  DOS command.  If we want to review the 
  141.  results of the last command, however,  
  142.  we can press Ctrl-F (flashback).
  143.  Director remembers DOS commands.  If you 
  144.  want to bring back the last command you  
  145.  entered, press Ctrl-left arrow.  Press
  146.  it again for the command before that,
  147.  and so on.  We only entered one command, 
  148.  so that is as far as we can go.
  149.  This completes the Director tutorial.
  150.  Now let's go back to the tutorial menu. 
  151.   0 Files :
  152. 0  0 Marked:
  153. 0Capacity  :  21,309,440 In Use
  154. :  20,821,797 Available:
  155. 487,643
  156.   7 Files :
  157. 12,069  0 Marked:
  158. 0Capacity  :  21,309,440 In Use
  159. :  20,821,797 Available:
  160. 487,643
  161.   7 Files :
  162. 22,582  0 Marked:
  163. 0Capacity  :  21,309,440 In Use
  164. :  20,821,797 Available:
  165. 487,643
  166. The CLARION Editor
  167.   Input File :C:\PHONES\PHONES.CLA
  168.   Output File:
  169.   Edit File  :
  170. 8PHONES
  171. PROGRAM
  172.  IINCLUDE('\CLARION\STD_KEYS.CLA')
  173.  0INCLUDE('\CLARION\CTL_KEYS.CLA')
  174.  0INCLUDE('\CLARION\ALT_KEYS.CLA')
  175.  0INCLUDE('\CLARION\SHF_KEYS.CLA')
  176.  sREJECT_KEY
  177. EQUATE(CTRL_ESC)
  178.  3ACCEPT_KEY
  179. EQUATE(CTRL_ENTER)
  180.  OMODULE('PHONES1')
  181.  APROC(MENU)
  182.  @PHONES.CLA 1:1
  183.  'LIN OVR ZON IND CAP
  184.  The Enter key inserts a blank line below the current line. 
  185.  After inserting the blank line, new source can be entered. 
  186.  The Editor keeps a stack of deleted characters, lines, 
  187.  and blocks.
  188.  Ctrl-U, the Undelete function, pulls the last deleted  
  189.  character, line, or block from the deletion stack and  
  190.  inserts it at the cursor.
  191.  Remember Ctrl-U 
  192.  the Undelete operation 
  193.  it will  
  194.  come in very handy.
  195.  This is the Editor's worksheet.  This is where you edit or 
  196.  revise your Clarion source files. When creating a new file 
  197.  from scratch, the worksheet is blank.  Lines 1 through 24  
  198.  are used for editing operations.  The current line is
  199.  always highlighted. 
  200.  PgUp scrolls the file up to display the previous group of source lines. 
  201.  Once you begin to use the Editor, there are several other
  202.  cursor-movement keys you will want to explore:
  203.  Move to the next tab stop.
  204.  Shift-Tab  
  205.  Move to the previous tab stop.
  206.  Ctrl-PgDn  
  207.  Move to the last line of the source file.
  208.  Ctrl-PgUp  
  209.  Move to the first line of the source file.
  210.  Ctrl-Left  
  211.  Move to the last character of the previous word.
  212.  Ctrl-Right 
  213.  Move to the first character of the next word.
  214.  The Editor has three entry modes:  Insert mode and
  215.  Overwrite mode, which are toggled with the Ins key, and 
  216.  Zone-insert mode, which is toggled by the Ctrl-Z key.
  217.  In Overwrite mode, new characters are typed on top of
  218.  existing characters.
  219.  In Insert mode, as a character is typed it pushes all of
  220.  the characters, from the cursor to the end of the line, to 
  221.  the right to make room for new characters.
  222.  Zone-insert mode lets you make insertions or deletions 
  223.  without causing a column alignment problem.
  224.  The Del key deletes the character at the cursor and pulls  
  225.  the rest of the line one position to the left.
  226.  Ctrl-End deletes the characters from the cursor to the end 
  227.  of the current line.
  228.  Other deletion keys you will want to explore are:
  229.  Bksp
  230.  deletes the character to the left of the
  231. cursor, then moves the cursor one position
  232. to the left.
  233.  Ctrl-Home 
  234.  deletes all of the characters on the current 
  235. line and moves the cursor to column one.
  236.  Here is a very important key to know about:
  237.  Ctrl-Bksp 
  238.  restores the current line to the state it 
  239. was before changes were made, IF it is
  240. pressed before moving the cursor off the  
  241. line or initiating another operation.
  242.  Line 25 is reserved for messages and for the current state 
  243.  of the edit file and the various edit modes.
  244. Current file
  245. Overwrite
  246.  Zone 
  247.  Auto 
  248. Scroll
  249. Mode  
  250. Insert
  251. Indent
  252.  Lock 
  253. Current
  254. Linear
  255. Line:Column
  256. Block 
  257. Mode  
  258.  Other important editing keys are:
  259.  Gray +
  260.  shifts a line to the right.
  261.  Shift-Gray + 
  262.  duplicates the character directly above
  263. the cursor and moves to the right.
  264.  Shift-Gray - 
  265.  duplicates the character directly above
  266. the cursor and moves to the left.
  267.  Ctrl-2
  268.  duplicates the current line.
  269.  Ctrl-\
  270.  reverses the case of the character at the 
  271. cursor and moves to the right.
  272.  Ctrl-6
  273.  centers the text on the current line.
  274.  To save your source file to disk, press Shift-Enter.  Any  
  275.  original version of your file will be renamed with an
  276.  extension of .BAK.
  277.  To save your source and exit the Editor, press Ctrl-Enter. 
  278.  Pressing Esc or Ctrl-Esc returns you to the Editor's base  
  279.  window without saving the file.  If you changed the file
  280.  during this edit session, the Editor will offer you the
  281.  opportunity to save your new version.
  282.  If you select Yes, you will exit the Editor without
  283.  writing any changes out to disk.  Selecting No will return 
  284.  you to the Editor's worksheet.
  285.  If you press Ctrl-F from outside an existing SCREEN or 
  286.  REPORT structure, the Editor displays the Format New
  287.  Structure Window.
  288.  Here, you will select the type of structure you wish to create: 
  289.  Screen or Report.  When you exit the Screen or Report Formatter 
  290.  your source will be inserted at the cursor.
  291.  We have now seen most of the important features of the
  292.  Editor.  We have only touched lightly on the rich set of  
  293.  features to be found in the Screen and Report Formatters. 
  294.  Many of the features are outside the scope of this
  295.  tutorial and require an understanding of the language
  296.  statements that make up these structures.
  297.  This concludes the Editor tutorial.
  298.  The cursor acts as the Editor's pointer by indicating where 
  299.  a character can be typed, where a line can be inserted,
  300.  where a screen or report can be formatted, the location of  
  301.  an error 
  302.  in short, where any of the Editor's operations 
  303.  will occur.
  304.  The Cursor-right ( 
  305.  ) key moves the cursor one column to the right. 
  306.  The Cursor-left  ( 
  307.  ) key moves the cursor one column to the left,  
  308. stopping at column one.
  309.  The Cursor down ( 
  310.  ) key moves the cursor down to the next line.
  311.  The Cursor up
  312.  ) key moves the cursor up to the previous line.  
  313.  The current line is always highlighted.
  314.  When Scroll Lock is on, pressing Cursor Down pulls source lines up
  315.  to the active line, one line at a time.  Likewise, Cursor Up pulls
  316.  source lines down to the active line.
  317.  The End key moves the cursor to the space after the last character 
  318.  on the current line.
  319.  Pressing End a second time moves the cursor to the right-most 
  320.  column used in the file.
  321.  The Home key moves the cursor to the first character on the current line.
  322.  Pressing Home a second time moves the cursor to column one. 
  323.  PgDn scrolls the file down to display the next group of lines in the file. 
  324. PAGE_FOOTER
  325. FOOTER
  326.  ,1 17
  327. COL(35)
  328. STRING('Page')
  329.  7COL(40)
  330. STRING(@N_3),USE(MEM:PAGE) CTL(@FF)
  331.  LDONE# = 0
  332.  GPRINT(RPT_HEADER)
  333.  ?SET(NUM:NAME_KEY)
  334.  ?OPEN(REPORT)
  335.  DDO NEXT_RECORD
  336.  BLOOP UTNIL DONE#
  337.  BPRINT(GRP_HEADER)
  338.  ?DO CHECK_PAGE
  339.  CLOOP UNTIL DONE#
  340.  BSAVE_LINE# = LINE#
  341.  >PRINT(DETAIL)
  342.  CDO CHECK_PAGE
  343.  CDO NEXT_RECORD
  344.  OPRINT(GRP_FOOTER)
  345.  ?DO CHECK_PAGE
  346.  OPRINT(RPT_FOOTER)
  347.  =PHONES03.CLA 42:11
  348.  #LIN OVR ZON IND CAP
  349.  Many of the Editor's operations work on blocks.  Blocks can 
  350.  be marked as linear or character.  Ctrl-B is used to toggle 
  351.  between LIN and CHR blocking.  Linear blocks consist of one 
  352.  or more complete lines.  Character blocks consist of one or 
  353.  more characters in a rectangle that spans one or more lines.
  354.  The Ignore Case field allows you to tell the Editor to
  355.  match on upper or lower-case letters.  If you answer No, 
  356.  an exact match is required.
  357.  You have the option of replacing the search parameter with 
  358.  a different string.  If you want to replace, you also have 
  359.  the option of having the Editor ask you for confirmation
  360.  prior to making the change.  You also can optionally make  
  361.  the search happen only within a marked block.
  362.  Then, if you wish, you can use Ctrl-N to continue the
  363.  search and replace process and find the Next matching
  364.  string.
  365.  Now let's quickly go over some of the remaining Control 
  366.  key operations of the Editor.
  367.  Press Ctrl-J to display the Jump to Line window.  To jump 
  368.  to a particular line, type in the line number and press
  369.  Enter.  The Editor will immediately change the current
  370.  line to be the line you requested.
  371.  To Get a copy of another file and insert it into the file 
  372.  you are editing, press Ctrl-G.  After the Editor accepts  
  373.  the filename you enter, it will ask you to move a pointer 
  374.  bar to the location in your file where you want to insert 
  375.  a copy of the "get" file.
  376.  A Clarion keyboard macro is a stored series of keystrokes, defined 
  377.  by you, that can be recalled by pressing the Alt key and any
  378.  designated alphabetic or numeric key.  Key macros are defined with 
  379.  the Key Macros Definition Window, stored in the current edit file  
  380.  (for example, CLA.EDT), and are created using an innovative learn  
  381.  mode.  Started and ended with Ctrl-K, a learn session teaches the  
  382.  Editor a set of keystrokes, as you press them, defining a macro.
  383.  The Editor allows you to draw lines and borders with the
  384.  track (Ctrl-T) command.  You can create elaborate comments 
  385.  in your source code with graphic box drawings.
  386.  To execute a DOS command without leaving the Editor, press 
  387.  Ctrl-X.  Type any valid DOS command at the Command line
  388.  field and press Enter.
  389.  To perform a block operation, begin by specifying the
  390.  operation.  For example, Ctrl-C to copy a block.  Then use 
  391.  the cursor controls to mark the size of the block.
  392.  Then press Enter to indicate that the block is marked.
  393.  Then use the cursor controls to point to the destination 
  394.  of the copy.
  395.  Press Ctrl-C again to write the copy. 
  396.  Then either move to another destination to write the copy, 
  397.  or press Esc to end the copy function.
  398.  Other block-oriented operations are:
  399.  Ctrl-D 
  400.  Deletes a block.
  401.  Ctrl-L 
  402.  Lists a block to your printer.
  403.  Ctrl-M 
  404.  Moves a block to another location.
  405.  Ctrl-P 
  406.  Puts a copy of a block into another file. 
  407.  If the source file your are editing was recently compiled  
  408.  with errors, you can use the Ctrl-E operation to jump from 
  409.  error to error.  The error is displayed and F1 provides
  410.  additional help.
  411.  The Editor allows you to open a second window and keep two 
  412.  edit files active.  Ctrl-W is used to call up the base
  413.  window so that a second file can be specified.
  414.  Ctrl-S calls the Editor's Search and Replace window.  With 
  415.  this feature, you can quickly and easily search for a
  416.  particular string and then replace it with another string. 
  417.  To request the Editor to search for a specific string,
  418.  first type in the string you wish to locate.  (Search and 
  419.  Replace also supports wildcards.)
  420. Error 146:IMPROPERLY FORMED 'LOOP' STATEMENT
  421.  -Press F1 for more help
  422.  A LOOP statement must have one of the following forms: 
  423. LOOP count TIMES
  424. LOOP i=initial TO limit BY step
  425. LOOP UNTIL logical expression
  426. LOOP WHILE logical expression
  427. !    '!!'
  428. PHONES03.CLA 42:11
  429.  #LIN OVR ZON IND CAP
  430. The CLARION Editor
  431.   Input File :
  432.   Output File:
  433.   Edit File  :
  434. PHONES03.CLA 42:11
  435.  #LIN OVR ZON IND CAP
  436. MEMBER('PHONES')
  437.  3SHOW_DIR
  438. PROCEDURE(LOOKUP)
  439.  2LOOKUP
  440. EXTERNAL
  441. SCREEN
  442. SCREEN
  443. WINDOW(21,50),PRE(SCR),HUE(7,0)
  444.  %ROW(1,1)
  445. STRING('<201,205{48},187>')
  446. PHONES02.CLA 1:1
  447.  %LIN OVR ZON IND CAP
  448.  Once the second window is open, you can use Ctrl-W at any 
  449.  time to switch to the other window.  You can perform any  
  450.  of the edit operations in either window, and you can
  451.  perform block operations, such as Copy or Move, between
  452.  the two windows.  At the point at which you must specify  
  453.  a destination, you can simply press Ctrl-W and switch to  
  454.  the other window, then move to a destination.
  455.  When you have finished editing one of the two files, move 
  456.  the cursor to the window you want to close and press
  457.  either Esc to exit or Ctrl-Enter to save your changes and 
  458.  exit. You will then return to single-window editing.
  459. MEMBER('PHONES')
  460.  3MENU_DIR
  461. PROCEDURE
  462. SCREEN
  463. SCREEN
  464. WINDOW(12,25),PRE(SCR),HUE(15,1)
  465.  %ROW(4,3)
  466. PAINT(7,21),HUE(0,7)
  467.  1ROW(1,1)
  468. STRING('
  469.  4ROW(2,1)
  470. REPEAT(10);STRING('
  471. <0{23}>
  472.  %ROW(12,1)  STRING('
  473.  4ROW(2,6)
  474. STRING('Phone Directory')
  475.  .COL(21)  ENTRY,USE(?FIRST_FIELD)
  476.  0COL(21)  MENU,USE(?MENU_FIELD)
  477.  0ROW(5,5)
  478. STRING('Display Directory')
  479.  (ROW(7,6)
  480. STRING('Print Directory')
  481.  *ROW(9,12)
  482. STRING('Quit')
  483. EJECT
  484.  KCODE
  485.  LOPEN(SCREEN)
  486.  #!OPEN THE MAIN MENU SCREEN
  487.  +!KEEP RUNNING TILL USER EXITS
  488. ALERT
  489.  "ALERT(REJECT_KEY)
  490.  "ACCEPT
  491.  '!GET THE POINT FIELD
  492. PHONES01.CLA 11:1
  493.  $LIN OVR ZON IND CAP
  494.  This is a Clarion SCREEN structure. 
  495.  In the Clarion language a SCREEN structure defines what the end-user  
  496.  sees on his monitor and provides a way to gather information that can 
  497.  be manipulated by your application program.
  498.  To generate new source  
  499.  from your screen design 
  500.  press Ctrl-Enter.
  501.  To exit the Screen
  502.  Formatter without
  503.  writing new source,
  504.  press ESC or CTRL-ESC.  
  505.  The Editor's Screen Formatter enables you to design a
  506.  screen from scratch, or make changes to an existing screen, 
  507.  without writing source statements.  The Formatter can read  
  508.  the format of a SCREEN structure, decode the statements,
  509.  and display your design on a worksheet.
  510.  To call the Screen Formatter, you would first position the 
  511.  cursor either where you want the statements for a new
  512.  SCREEN structure to be placed in your program, or anywhere 
  513.  within an existing SCREEN structure to format that screen. 
  514.  Once the cursor is properly positioned, you then simply
  515.  press Ctrl-F.
  516.  After pressing Ctrl-F from within a source SCREEN structure, 
  517.  your screen design is displayed on the Screen Formatter's
  518.  worksheet.  New screens start with a blank worksheet.
  519.  The entire monitor
  520.  can be used to design 
  521.  your screen.  As with 
  522.  the Editor, the cursor
  523.  acts as the Screen
  524.  Formatter's pointer,  
  525.  indicating where a
  526.  character should be
  527.  typed, where to begin 
  528.  a field or variable,  
  529.  or where to begin a
  530.  block or a track.
  531.  Ctrl-S calls the Source window.  The Source window 
  532.  is where you change screen characteristics, create 
  533.  or change screen variables and data entry fields,  
  534.  or rearrange the order of events.
  535.  The source window shows you the source that will
  536.  be generated based on your design.
  537. SCREEN statement
  538. Statement
  539. Size of the
  540. A MENU
  541. Label
  542. window
  543. structure
  544. Position  
  545. attributes
  546. !    2    A
  547.  This screen structure defines a menu.  A menu is a type of data
  548.  entry field in which the end-user chooses from a menu of possible 
  549.  choices.  This menu contains three choices, which are called
  550.  menu items.  The reverse bar indicates that if we press Enter, we 
  551.  will call the menu item string window for this item.
  552.  This window allows us to 
  553.  change the description
  554.  or any of the attributes 
  555.  of this menu item.
  556. MODULE('PHONES02')
  557.  @PROC(UPD_PHONE)
  558.  OMODULE('PHONES03')
  559.  @PROC(SCROLL_SCR)
  560.  OEJECT('FILE LAYOUTS')
  561.  .PHONEBK
  562. FILE,NAME('C:\PHONE\PHONEBK'),PRE(PHN),CREATE,RECLAIM
  563. NAME_KEY
  564. KEY(PHN:NAME),DUP,NOCASE,OPT
  565.  %RECORD
  566.      RECORD
  567.  ;NAME
  568. STRING(30)
  569. !Name
  570. ADDRESS
  571. STRING(30)
  572. !Address
  573. CITY_STATE
  574. STRING(30)
  575. !City and State
  576. !Zip code
  577. PHONE
  578. DECIMAL(7,0)
  579. !Telephone number
  580. EJECT('GLOBAL MEMORY VARIABLES')
  581.  0GROUP,PRE(MEM)
  582.  5MESSAGE
  583. STRING(40)
  584. !Global Message Area
  585. SHORT
  586. !Report Page Number
  587. SHORT
  588. !Report Line Number
  589.  BPHONES.CLA 25:1
  590.  &LIN OVR ZON IND CAP
  591. MEMBER('PHONES')
  592. PRNT_DIR
  593. PROCEDURE
  594. TITLE
  595. REPORT LENGTH(59),WIDTH(80),PRE(TTL)
  596. RPT_HEADER
  597. DETAIL
  598.  H. .
  599.  @REPORT
  600. REPORT
  601. LENGTH(59),WIDTH(80),PAGE(PAGE#),LINE(LINE#)
  602. PRE(RPT)
  603.  .PAGE_HEADER
  604. HEADER
  605.  ACOL(1)
  606. STRING('
  607.  2ROW(+1,1)
  608. STRING('
  609.  {78}
  610.  2ROW(+1,1)
  611. STRING('
  612.  {32}Phone Directory {31}
  613. ROW(+1,1)
  614. STRING('
  615.  {78}
  616.  2ROW(+1,1)
  617. STRING('
  618.   Name {27}Address {25}Phone {8}
  619. ROW(+1,1)
  620. STRING('
  621. ') CTL(@LF2)
  622.  5GRP_HEADER
  623. DETAIL
  624.  5DETAIL
  625. DETAIL
  626.  ACOL(4)
  627. STRING(30),USE(PHN:NAME)
  628.  -COL(35)
  629. STRING(30),USE(PHN:ADDRESS)
  630.  *COL(66)
  631. STRING(@P
  632. PB),USE(PHN:PHONE)
  633. PHONES03.CLA 11:1
  634.  $LIN OVR ZON IND CAP
  635.  This is a Clarion REPORT structure.
  636.  In the Clarion language a REPORT structure declares 
  637.  the layout of a printed report.
  638.  The Editor's Report Formatter enables you to design a
  639.  report from scratch, or make changes to an existing report, 
  640.  without writing source statements.  The Formatter can read  
  641.  the format of a REPORT structure, decode the statements,
  642.  and display your design on a worksheet.
  643.  To call the Report Formatter, you would first position the 
  644.  cursor either where you want the statements for a new
  645.  REPORT structure to be placed in your program, or anywhere 
  646.  within an existing REPORT structure to format that report. 
  647.  Once the cursor is properly positioned, you then simply
  648.  press Ctrl-F.
  649.  After pressing Ctrl-F from within a source REPORT structure, 
  650.  your report design is displayed on the Report Formatter's
  651.  worksheet.  New reports start with a clean worksheet.
  652.  Your REPORT structure will
  653.  contain other structures
  654.  within it that describe:
  655.  the information that should  
  656.  be printed at the top of
  657.  each page (the HEADER); the  
  658.  data that should be printed  
  659.  in the body of each page
  660.  (DETAIL structures); and the 
  661.  information that should be
  662.  printed at the bottom of
  663.  each page (the FOOTER).
  664.  For a new REPORT structure,  
  665.  the worksheet starts with
  666.  empty header, footer, and
  667.  detail areas.
  668.  Ctrl-S calls the Source window.  The Source window is where you can view 
  669.  the header, detail, and footer structures in the current report design,  
  670.  as well as any variables and control sequences.  The Source window also  
  671.  enables you to define the report's characteristics.
  672.  The Source window can be used to change the characteristics of the
  673.  report, the structures within the report, or report variables within 
  674.  the structures.  The selector bar is currently on a report variable, 
  675.  and if Enter is pressed, the Variable window will appear.
  676.  The Variable window is used to create or modify data variables and  
  677.  control sequences for your report.  Report variables can have their 
  678.  own label, or they can USE the contents of other variables.
  679.  To generate new source  
  680.  from your report design 
  681.  press Ctrl-Enter.
  682.  To exit the Report
  683.  Formatter without
  684.  writing new source,
  685.  press ESC or CTRL-ESC.  
  686.  Ctrl-E -- Advancing to a Compiler Error
  687.  In the Clarion Professional Developer environment, the Editor 
  688.  and the Compiler work closely together.  The Editor can jump  
  689.  to an error detected by the compiler, display the error
  690.  message and provide a help window elaborating on the error.
  691.  Ctrl-W -- Dual Worksheet Editting
  692.  You can view and edit two files at once.  You can copy or 
  693.  move blocks of data from one source file to the other, or 
  694.  view one file while editting the other.
  695.  This is the Editor's Base window.  Clarion remembers that we were working 
  696.  on the source file PHONES.CLA.  We may type a different filename, or we
  697.  can enter a pattern to view a list of available files.
  698.  If we wish to create a  
  699.  new file from scratch,  
  700.  we would leave this
  701.  field blank.  To edit
  702.  this file, all we have  
  703.  to do is press Enter.
  704.  The Editor assumes that we want the Output filename to be 
  705.  the same as the input filename.  We could enter a
  706.  different name, which would allow us to create a new file 
  707.  starting with an existing file.  For the input and output 
  708.  files to be the same, all we have to do is press Enter.
  709.  The Editor stores keyboard macros and Options window settings in  
  710.  an edit file (with an extension of .EDT).  The Editor assumes we  
  711.  want to use CLA.EDT because the file we are about to edit has an  
  712.  extension of .CLA.  We could choose a different edit file at this 
  713.  point, but to use this one, all we have to do is press Enter.
  714.  Once the screen source has been compiled, the structure design is  
  715.  displayed on the Screen Formatter's worksheet.  This is the menu
  716.  screen from the MENU procedure in our PHONES Designer application. 
  717.  From here, we can edit  
  718.  the screen display.
  719.  We can type literals,
  720.  paint colors, copy or
  721.  move blocks, resize the 
  722.  window, or we can make  
  723.  changes to the fields
  724.  and variables that make 
  725.  up the screen.
  726.  Use Ctrl-S to display
  727.  the source structure of 
  728.  the screen's fields and 
  729.  variables.
  730.  The Source window is
  731.  where you change screen
  732.  characteristics, create
  733.  variables, fields, and 
  734.  menu items.  You can
  735.  reorder fields and
  736.  variables and create
  737.  REPEAT structures of
  738.  variables or fields.
  739.  'Display Directory' is a
  740.  Menu item.  Menu items  
  741.  are strings within MENU 
  742.  structures that offer
  743.  choices to a user.
  744.  Menus are one of the
  745.  five types of fields. If
  746.  we press Enter, the Menu
  747.  Item window will appear.
  748. The CLARION Editor
  749.   Exit Without Changes:No
  750. Yes  No 
  751.  Type information into each field 
  752.  then press the Enter key.
  753.  The directory is updated after
  754.  the last field is entered.
  755.  !Formatting 
  756. The CLARION Helper
  757.   Help file :
  758.   Window
  759.   Chained to:
  760.   Position  :FLOAT
  761. FLOAT/FIX
  762.   Attribute :NORMAL
  763.  This is the Helper tutorial.  It should  
  764.  be viewed after the Designer tutorial.
  765.  In the Designer tutorial we named a help 
  766.  file (PHONES.HLP) containing three help  
  767.  windows (MENU, TABLE, and FORM).  Let's  
  768.  create those help windows with Helper.
  769. This is Helper's base window.  We want to 
  770. create a help file named PHONES.HLP.  The 
  771. .HLP extension is a default in Helper.
  772.  Let's create the MENU window first.  MENU 
  773.  was the help window we named in Designer  
  774.  to be used with the MENU procedure.
  775.  Help windows can be chained together.  
  776.  When the operator presses Enter from
  777.  a help window, the "chained to" window 
  778.  is displayed.
  779.  We will not chain MENU.
  780.  We will make MENU a floating window.  A  
  781.  floating window is positioned so that it 
  782.  does not obscure the current field being 
  783.  entered.  In our case, the current entry 
  784.  field is the menu selector bar.
  785.  We will make MENU blue on green. 
  786.   Loading edit file
  787.  "Loading file
  788.  Use the up and down arrow keys 
  789.  to move the selector bar.
  790.  Then press the Enter key.
  791. 2,767
  792. 4,815
  793. Options
  794.   Input File :C:\CLARION\PHONES.CLA
  795.   Output File:C:\CLARION\PHONES.CLA
  796.   Edit File  :C:\CLARION\CEDT.EDT
  797.   Block Mode :LIN
  798. LIN  CHR
  799.   Indention  :On
  800.   Zone Insert:On
  801.   Ruler Lines:Off
  802.   Typing Mode:OVR
  803. INS  OVR  Neutral  
  804.   Caps Lock  :On
  805. Off  Neutral  
  806.   Scroll Lock:On
  807. Off  Neutral  
  808.   Compress
  809. Yes  No
  810.   Change Tabs:No
  811. Yes  No
  812.   Edit Width :80
  813. Size:919
  814.   Memory Use :1k/179k
  815. Date: 3/10/90  
  816.   Amount Used:0%
  817. Time:14:40
  818.  The Editor's Options window allows you to: change the
  819.  output filename, switch to another edit file, and select 
  820.  the modes and features that are automatically toggled on 
  821.  or off each time you begin an editing session.
  822.  To call the Editor's Options window you would have to
  823.  press Ctrl-O.
  824.  The top section
  825.  of the Options 
  826.  window displays
  827.  the name of the
  828.  current input  
  829.  file.  This can
  830.  not be changed.
  831.  The middle section of
  832.  the Options window is
  833.  where you can indicate  
  834.  new output and edit
  835.  filenames and toggle
  836.  various editing features
  837.  on or off.
  838.  The bottom section of the Options window displays the
  839.  following information about the input file: size, the
  840.  memory in use, the percentage of memory currently in
  841.  use, the width of the widest line, and the date and time 
  842.  that the file was last written out to disk.
  843.  To change the tab stops stored in the current edit file,  
  844.  select Yes at the Change Tabs field.  The options window  
  845.  will be replaced by the ruler lines.  Here you can set up 
  846.  or change tab-stop settings.
  847.  Directory entries for the current directory are 
  848.  displayed in the table below.  We enter a blank 
  849.  DOS command to set the directory options.
  850.  The pattern determines which directory entries  
  851.  are displayed.  The pattern *.* means all files 
  852.  for all extensions.  Let's display only source  
  853.  files--files with an extension of .CLA.
  854.  We can display the directory entries as they 
  855.  occur in the directory, or we can sort them  
  856.  by filename, extension, size, date created,  
  857.  or time created.  Let's sort by file size.
  858.  And we can sort the directory into ascending or 
  859.  descending sequence.  It's already in ascending 
  860.  sequence, so let's sort it descending.
  861.  We don't want to display directory entries that 
  862.  are marked "hidden" by DOS.  And we don't want  
  863.  a pause after executing a DOS command.  (We
  864.  can always "flashback" with Ctrl-F.)
  865.  Now let's reset the directory options to their  
  866.  default values and take a look at the directory 
  867.  entry table.
  868. Point to destination, then press Enter to COPY
  869. 8PAGE_HEADER
  870. Header
  871.   Phone Directory
  872.   Name
  873. Address
  874. Phone
  875.  PGRP_HEADER
  876. Detail
  877. %DETAIL
  878. Detail
  879. GRP_FOOTER
  880. Detail
  881. %RPT_FOOTER
  882. Detail
  883. JDetail
  884. %PAGE_FOOTER
  885. Footer
  886.  "Page <<#
  887. 8PAGE_HEADER 5:1
  888.  &LIN OVR ZON IND CAP
  889. DETAIL
  890. DETAIL
  891. COL(4)
  892. STRING(30),USE(PHN:NAME)
  893. COL(35)
  894. STRING(30),USE(PHN:ADDRESS)
  895. COL(66)
  896. STRING(@P
  897. PB),USE(PHN:PHONE)
  898. ROW(+1,35)
  899. STRING(20),USE(PHN:CITY_STATE)
  900. COL(56)
  901. STRING(@N05B),USE(PHN:ZIP)
  902.  "Variable
  903.   Control Before :
  904. Label:
  905.   Parameter
  906. :@S30
  907. Label:
  908. Use:PHN:ADDRESS
  909.   Control After  :
  910. Label:
  911.   Formfeed Before:No
  912. Yes  No
  913.   Formfeed After :No
  914. Yes  No
  915.   Overprint Next :No
  916. Yes  No
  917.  The Editor's ruler lines are a pair of highlighted bars
  918.  surrounding the cursor line.  The bottom ruler line shows  
  919.  tab stops.  Any character typed here will designate a tab  
  920.  stop.  When Enter is pressed, tab information is stored in 
  921.  the current edit file, along with your keyboard macros and 
  922.  other Options window settings.
  923.  When editing source in the Editor's worksheet area, you 
  924.  can toggle the ruler lines on or off at any time by
  925.  pressing Ctrl-R.
  926. Phone Directory
  927. Display Directory
  928. Print Directory
  929. SCREEN
  930. SCREEN
  931. WINDOW(12,25),PRE(SCR),HUE(15,1)
  932. ROW(2,21)  ENTRY,USE(?FIRST_FIELD)
  933. ROW(2,21)  MENU,USE(?MENU_FIELD)
  934. ROW(5,5)
  935. STRING('Display Directory')
  936. ROW(7,6)
  937. STRING('Print Directory')
  938. ROW(9,12)
  939. STRING('Quit')
  940. Field Type:String
  941.      String Entry Menu Pause Repeat Point Text
  942.   Display Directory
  943.   Row: 5 Col: 5
  944. Menu Item String
  945.   Parameter  :'Display Directory'
  946.   Label
  947.   Description:
  948.   Help
  949.   Attribute  :Normal
  950. Select  :Reversed
  951. ROW(5,5)
  952. STRING('Display Directory')
  953. Data Window Prompts
  954. Light Cyan on Blue
  955. Press B to toggle Blink
  956. / /!/"/#/$/%/&/'/(/)/*/+/,/-/.
  957. ?0?1?2?3?4?5?6?7?8?9?:?;?<?=?>
  958. O@OAOBOCODOEOFOGOHOIOJOKOLOMON
  959. _P_Q_R_S_T_U_V_W_X_Y_Z_[_\_]_^
  960. o`oaobocodoeofogohoiojokolomon
  961.  How about light magenta on blue ? 
  962. Press a key to continue
  963. Mark block to be MOVED, then press Enter
  964. Move cursor to draw track or press Ctrl-T for track options.
  965.   To add a new entry: Press Ins.
  966.   To delete an entry: Press Del.
  967.   To change an entry: Select it and 
  968. press Enter.  
  969.   To add a new entry: Press Ins.
  970.   To delete an entry: Press Del.
  971.   To change an entry: Select it and 
  972. press Enter.  
  973. C:\PHONES
  974. (Parent)  9-16-87 10:44a
  975. PHONEBK  DAT
  976. 2,767 11-13-87 11:39a
  977. PHONEBK  K01
  978. 2,048 11-09-87  4:28p
  979. PHONES
  980. 6,626 11-13-87 11:11a
  981. PHONES
  982. 292 11-24-87  3:18p
  983. PHONES
  984. 998 11-05-87  9:49a
  985. PHONES
  986. 1,069 11-13-87 11:11a
  987. PHONES
  988. 128,745 11-24-87  1:33p
  989. PHONES
  990. 767 11-19-87  8:48a
  991. PHONES
  992. 2,580 11-13-87 11:11a
  993. PHONES
  994. 1,897 11-13-87 11:11a
  995. PHONES
  996. 1,501 11-24-87  3:18p
  997. PHONES
  998. 966 11-13-87 11:11a
  999. PHONES
  1000. 335 11-13-87 11:13a
  1001. PHONES
  1002. 335 11-13-87 11:13a
  1003. PHONES
  1004. 3,711 11-24-87  1:33p
  1005. PHONES
  1006. 253 11-24-87  3:18p
  1007. PHONES1  BAK
  1008. 1,053 11-13-87 11:11a
  1009. PHONEB1  CLA
  1010. 1,068 11-19-87  9:13a
  1011. PHONES1  LST
  1012. 2,276 11-19-87  9:14a
  1013. PHONES1  MAP
  1014. 351 11-19-87  9:14a
  1015. PHONES1  OBJ
  1016. 956 11-24-87  3:18p
  1017. PHONES1  PRO
  1018. 433 11-19-87  9:14a
  1019. PHONES2  BAK
  1020. 3,571 11-13-87 11:34a
  1021. PHONES2  CLA
  1022. 3,571 11-13-87 11:39a
  1023. PHONES2  LST
  1024. 6,663 11-13-87 11:39a
  1025. PHONES2  MAP
  1026. 1,141 11-13-87 11:39a
  1027. PHONES2  OBJ
  1028. 2,838 11-24-87  3:18p
  1029. PHONES2  PRO
  1030. 833 11-13-87 11:39a
  1031. PHONES3  CLA
  1032.  11-13-87 11:11a
  1033. PHONES3  LST
  1034. 4,316 11-13-87 11:13a
  1035. PHONES3  MAP
  1036. 752 11-13-87 11:13a
  1037. PHONEB3  OBJ
  1038. 1,837 11-24-87  3:18p
  1039. PHONES3  PRO
  1040. 733 11-13-87 11:13a
  1041. PHONES4  BAK
  1042. 917 11-13-87  1:38p
  1043. PHONES4  CLA
  1044. 917 11-13-87  1:38p
  1045. PHONES4  LST
  1046. 2,032 11-13-87  1:38p
  1047. PHONES4  MAP
  1048. 335 11-13-87  3:18p
  1049. PHONES4  OBJ
  1050. 919 11-24-87  1:38p
  1051. PHONES4  PRO
  1052. 373 11-13-87 11:13a
  1053. PHONES5  CLA
  1054. 68 11-13-87 11:13a
  1055. PHONES5  LST
  1056. 369 11-13-87 11:13a
  1057. PHONES5  MAP
  1058. 104 11-13-87 11:13a
  1059. PHONES5  OBJ
  1060. 263 11-24-87  3:18p
  1061. PHONES4  CLA
  1062. 917 11-13-87  1:38p
  1063. PHONES4  LST
  1064. 2,032 11-13-87  1:38p
  1065. PHONES4  MAP
  1066. 335 11-13-87  3:18p
  1067. PHONES4  OBJ
  1068. 919 11-24-87  1:38p
  1069. PHONES4  PRO
  1070. 373 11-13-87 11:13a
  1071. PHONES5  CLA
  1072. 68 11-13-87 11:13a
  1073. PHONES5  LST
  1074. 369 11-13-87 11:13a
  1075. PHONES5  MAP
  1076. 104 11-13-87 11:13a
  1077. PHONES5  OBJ
  1078. 263 11-24-87  3:18p
  1079. PHONES5  PRO
  1080. 78 11-13-87 11:13a
  1081. PHONES6  CLA
  1082. 3,043 11-13-87 11:11a
  1083. PHONES6  LST
  1084. 5,674 11-13-87 11:13a
  1085. PHONES6  MAP
  1086. 859 11-13-87 11:13a
  1087. PHONES6  OBJ
  1088. 686 11-13-87  3:18p
  1089. \PHONES
  1090. (Sub-dir)  9-16-87 10:44a
  1091. \REFMMAN
  1092. (Sub-dir)  3-09-87 10:52a
  1093.      \ROBOT
  1094. (Sub-dir)  8-26-87  8:34a
  1095.      \SAVE
  1096.      (Sub-dir)  3-20-87  1:42p
  1097.      \SAVEREF
  1098. (Sub-dir) 11-13-87 11:11a
  1099.      \SAVETUT
  1100. (Sub-dir) 11-24-87  3:18p
  1101.      \SCHEDULE
  1102. (Sub-dir)  3-09-87 10:53a
  1103.      \TEMP
  1104.      (Sub-dir) 11-10-87  2:40p
  1105.      \TEST
  1106.      (Sub-dir)  4-16-87  2:28p
  1107.      \TUTORIAL
  1108. (Sub-dir)  9-17-87  7:57a
  1109.      \WRT
  1110. (Sub-dir)  3-09-87 10:26a
  1111. AUTOEXEC BAK
  1112. 126  9-17-87  1:30p
  1113. AUTOEXEC BAT
  1114. 125 10-02-87  2:42p
  1115. COMMAND  COM
  1116. 22,042  8-14-84  8:00a
  1117. PHONES
  1118. 1,069 11-13-87 11:11a
  1119. PHONES1  CLA
  1120. 1,068 11-19-87  9:13a
  1121. PHONES2  CLA
  1122. 3,571 11-13-87 11:39a
  1123. PHONES3  CLA
  1124.  11-13-87 11:11p
  1125. PHONES4  CLA
  1126. 917 11-13-87  1:38p
  1127. PHONES5  CLA
  1128. 68 11-13-87 11:11a
  1129. PHONES6  CLA
  1130. 3,043 11-13-87 11:13a
  1131. PHONES5  CLA
  1132. 68 11-13-87 11:11a
  1133. PHONES4  CLA
  1134. 917 11-13-87  1:38p
  1135. PHONES1  CLA
  1136. 1,068 11-19-87  9:13a
  1137. PHONES
  1138. 1,069 11-13-87 11:11a
  1139. PHONES3  CLA
  1140.  11-13-87 11:11p
  1141. PHONES6  CLA
  1142. 3,043 11-13-87 11:13a
  1143. PHONES2  CLA
  1144. 3,571 11-13-87 11:39a
  1145. PHONES2  CLA
  1146. 3,571 11-13-87 11:39a
  1147. PHONES6  CLA
  1148. 3,043 11-13-87 11:13a
  1149. PHONES3  CLA
  1150.  11-13-87 11:11p
  1151. PHONES
  1152. 1,069 11-13-87 11:11a
  1153. PHONES1  CLA
  1154. 1,068 11-19-87  9:13a
  1155. PHONES4  CLA
  1156. 917 11-13-87  1:38p
  1157. PHONES5  CLA
  1158. 68 11-13-87 11:11a
  1159.  Directory entries for the current directory 
  1160.  are displayed in the table below.  \PHONES  
  1161.  is the current directory.  "\.." represents 
  1162.  the next highest (parent) directory.
  1163.  Ctrl-G is used with directory entries.  Ctrl-L
  1164.  lists directory and file entries to the printer. 
  1165.  The remaining control keys are used to process
  1166.  selected or marked files.
  1167.  We select a file with the selector bar.  We
  1168.  can mark the selected file by pressing Ctrl-M.  
  1169.  Ctrl-U "unmarks" the selected file.  Let's mark 
  1170.  both extensions for PHONEBK (.DAT and .K01).
  1171.  Ctrl-C, Ctrl-D, Ctrl-P, Ctrl-R, and Ctrl-T can 
  1172.  can be used instead of the COPY, DEL (delete), 
  1173.  PRINT, RENAME, and TYPE commands to operate on 
  1174.  the marked entries or the selected entry.
  1175.  For example, to save the two marked files in a 
  1176.  directory called \SAVE, we press Ctrl-C (copy) 
  1177.  and enter the destination parameter (\SAVE).
  1178.  Clarion "remembers" the source, help, and  
  1179.  data files you are currently working on.
  1180.  Ctrl-S selects the file under the selector 
  1181.  bar as a "current" file.
  1182.  Ctrl-X executes the file under the selector
  1183.  bar as a DOS command.  The Gray + key moves
  1184.  the selected filename and extension up to the 
  1185.  cursor on the DOS command line.  Gray - moves 
  1186.  the extension.
  1187.  With the cursor on the DOS command field, the 
  1188.  up and down arrow keys move the selector bar. 
  1189.  With the selector bar at the bottom of the 
  1190.  table, down arrow scrolls the table up.
  1191.  And we press PgDn to scroll the table to the 
  1192.  next page of directory entries.
  1193.  Ctrl-PgDn scrolls to the end of the directory. 
  1194.  And Ctrl_PgUp scrolls back to the beginning. 
  1195.  Entries in the table are either directories or  
  1196.  files.  Directories start with a backslash (\). 
  1197.  \.. is the parent directory--the directory that 
  1198.  contains \PHONES as a sub-directory.
  1199.  To change the current directory (which is now  
  1200.  \PHONES) we select a directory entry and press 
  1201.  Ctrl-G (Go to).  The only directory in \PHONES 
  1202.  is the parent (\..).  We will go there.
  1203.  The parent directory of \PHONES is the root 
  1204.  directory (\).  From here we can go to any  
  1205.  sub-directory.  Let's go back to \PHONES.
  1206. The CLARION Tailor
  1207.   Environment Colors:No
  1208. Default
  1209.   Quick Start Colors:No
  1210. Default
  1211.   Window Shadows
  1212.   Set Keyboard Locks:Yes
  1213.   Error Beep
  1214.   Enhanced Keyboard :Yes
  1215.   Video Timeout Mins:10
  1216.   Compiler Listings :Yes
  1217. Lines on Page
  1218. Control Before  :
  1219. Control After
  1220.   Conditional Stream:No
  1221.   Statement Column  :14
  1222. Column Indention: 2
  1223. Keyword Case
  1224. :UPPER
  1225. Caps  UPPER  lower
  1226. Non-Keyword Case:UPPER
  1227. Caps  UPPER  lower  As is  
  1228. Translate Tracks:No
  1229.  This is the Tailor tutorial.
  1230.  With Tailor, you can customize the "look and feel" of  
  1231.  the Clarion Professional Developer's screens, reports, 
  1232.  and generated source code.
  1233.  By printing 58 lines then skipping to
  1234.  a new page, we avoid the problem caused 
  1235.  by printers that automatically skip 6
  1236.  lines after printing line 59.
  1237.  Control Before and Control After are  
  1238.  printer control strings that are sent 
  1239.  to the printer prior to and following 
  1240.  a listing.
  1241.  A stream compile processes all the source 
  1242.  modules in an application.  A conditional 
  1243.  stream compile processes only the modules 
  1244.  that have changed since the last compile. 
  1245.  The last section controls the generated source code.  
  1246.  Starting declaration statements in column 14 leaves
  1247.  room for a 12-character label.
  1248.  A 2-column indention prevents a program from creeping 
  1249.  off the screen on the right.
  1250.  Generated keywords can be upper case, lower case, or  
  1251.  capitalized.  Non-keywords are usually labels that
  1252.  you enter.  They can be left alone (As is) or changed 
  1253.  to upper case, lower case, or capitalized.
  1254.  Tracks are the single and double line graphics used
  1255.  for line drawing.  If your printer cannot print these 
  1256.  characters, answer "Yes" and they will be translated  
  1257.  to their ASCII codes.
  1258.  This completes the Tailor tutorial 
  1259.  Let's return to the tutorial menu. 
  1260.  You can change the colors that Quick-Start 
  1261.  will use  in the same  way that we changed 
  1262.  the Environment colors.
  1263.  This is Tailor's base window. 
  1264.  The top section of Tailor controls the look and feel
  1265.  of screen entry.
  1266.  Screen Colors can be left alone or painted to fit your 
  1267.  mood.  And if you ever want to start over, the screens 
  1268.  can be reset to their original colors.
  1269.  Let's change some screen colors.  We select "Yes".
  1270.  So here is Tailor with light magenta 
  1271.  prompt words.  It doesn't look that  
  1272.  great.
  1273.  Let's reset to the default colors.
  1274.  Window shadows are an artistic touch, 
  1275.  but they can obscure data.  If you
  1276.  don't want shadows, answer "No".
  1277.  Clarion programs optionally manipulate  
  1278.  the Caps, Num, and Scroll Lock keys.
  1279.  On multi-user systems this feature must 
  1280.  be suppressed (answer "No").
  1281.  If beeping annoys you, answer "No" to
  1282.  Error Beep.
  1283.  The enhanced keyboard contains two extra  
  1284.  function keys (F11 & F12) that cannot be  
  1285.  be read by the standard keyboard routine. 
  1286.  Answer "Yes" if your programs use F11 or  
  1287.  F12 and will NEVER encounter a standard
  1288.  keyboard.
  1289.  The video monitor will be blanked after 
  1290.  10 minutes of disuse.  Pressing any key 
  1291.  restores the screen.  Enter the timeout 
  1292.  period in minutes or enter zero for no  
  1293.  video timeout.
  1294.  The next Tailor section concerns the  
  1295.  Compiler and its associated listings. 
  1296.  The Compiler optionally generates a
  1297.  listing file.  If you know you won't  
  1298.  need the listing and want to compile  
  1299.  faster, answer "No".
  1300. Track Type
  1301. Single 
  1302.   Double 
  1303.   Block
  1304.  Mixed
  1305.  Mixed
  1306. ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?  
  1307.   @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _  
  1308.   ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 
  1309.  This is the Editor tutorial.  The Clarion Editor is a full-  
  1310.  screen line editor with numerous features designed to help
  1311.  you create and revise your Clarion source files.  The
  1312.  Editor also includes a built-in source compiler, interactive 
  1313.  designer, and source code generator for both screens and
  1314.  reports.
  1315.  Clarion source files are DOS ASCII text files.  Each line  
  1316.  is terminated by a carriage return/line feed sequence.
  1317.  When written to disk, source files are stored with tabs
  1318.  compressed with tab stops at 1, 9, 17, etc.  Source lines  
  1319.  may contain up to 255 characters.
  1320.  !Updating source
  1321. Keyin Attribute
  1322. Yellow on Green
  1323. Normal
  1324. Reversed
  1325. Enhanced
  1326. Rev+Enh
  1327. Blink
  1328. Rev+Blk
  1329. Blk+Enh
  1330.  Rev+Blk+Enh
  1331. Press B to toggle Blink
  1332. / /!/"/#/$/%/&/'/(/)/*/+/,/-
  1333. ?0?1?2?3?4?5?6?7?8?9?:?;?<?=?>
  1334. O@OAOBOCODOEOFOGOHOIOJOKOLOMON
  1335. _P_Q_R_S_T_U_V_W_X_Y_Z_[_\_]_^
  1336. o`oaobocodoeofogohoiojokolomon
  1337. Screen Attribute
  1338. Blue on Green
  1339. Transparent
  1340. Press B to toggle Blink
  1341. Press T to toggle Transparent
  1342. "/#/$/%/&/'/(/)/*/+/,/-/.
  1343. ?0?1?2?3?4?5?6?7?8?9?:?;?<?=?>
  1344. O@OAOBOCODOEOFOGOHOIOJOKOLOMON
  1345. _P_Q_R_S_T_U_V_W_X_Y_Z_[_\_]_^
  1346. o`oaobocodoeofogohoiojokolomon
  1347. Track Attribute
  1348. Bright White on Green
  1349. Normal
  1350. Reversed
  1351. Enhanced
  1352. Rev+Enh
  1353. Blink
  1354. Rev+Blk
  1355. Blk+Enh
  1356.  Rev+Blk+Enh
  1357. Press B to toggle Blink
  1358. / /!/"/#/$/%/&/'/(/)/*/+/,/-/.
  1359. ?0?1?2?3?4?5?6?7?8?9?:?;?<?=?>
  1360. O@OAOBOCODOEOFOGOHOIOJOKOLOMON
  1361. _P_Q_R_S_T_U_V_W_X_Y_Z_[_\_]_^
  1362. o`oaobocodoeofogohoiojokolomon
  1363.   Writing the file
  1364. Then press the Enter key.
  1365. to move the selector bar.
  1366. to move the selector bar.  
  1367. Use the up and down arrow keys to move the selector bar.
  1368. Then press the Enter key.
  1369.  This is Helper's worksheet.
  1370.  We begin by typing free-form help information  
  1371.  anywhere on the worksheet.  We want to explain 
  1372.  how to make a menu selection.
  1373.  We press the Enter key to take us out
  1374.  of tracking mode and we reduce the size 
  1375.  of the window with Ctrl-W.
  1376.  OK, this will be our help window for the 
  1377.  MENU screen of the PHONES application.
  1378.  Similarly, we have painted a help window 
  1379.  for the TABLE procedure.
  1380.  This looks pretty good, but let's highlight 
  1381.  a few of the key words in yellow.
  1382.  We can "paint" the words (Ctrl-P) or we can 
  1383.  change their video attribute (Ctrl-A).
  1384.  Paint "sticks" to the background and does  
  1385.  not move with the words.  Attributes stay  
  1386.  with the words as you move them.
  1387.  Let's change the attributes.  First we set 
  1388.  the video attribute color with Ctrl-V.
  1389.  Then we type Ctrl-A over each character 
  1390.  position we want changed.
  1391.  This is the help window we will be using with 
  1392.  our TABLE procedure.
  1393.  Finally,  we create a final help window to be 
  1394.  used with our FORM procedure.
  1395.  This completes the Helper tutorial.
  1396.  The Compiler tutorial should be viewed next. 
  1397.  That's about all we need to say.  
  1398.  To make it more rectangular let's 
  1399.  move the bottom line down so we
  1400.  can break the top line up.
  1401.  To move a block of text, point the cursor to it 
  1402.  and press Ctrl-M (move).  Then move the cursor  
  1403.  through it and press Enter to "grab" it.  Now
  1404.  you can move it anywhere with the cursor keys.  
  1405.  Press Enter when it is in the right place.
  1406.  Using the move command again, 
  1407.  let's break up the top line.  
  1408.  Now let's draw a box around our help screen. 
  1409.  We put the cursor in position to draw the
  1410.  box and then we press Ctrl-T (track).
  1411.  The default is a double track. 
  1412.  We can choose this by pressing 
  1413.  Enter.
  1414.  Now we use Ctrl-V to choose
  1415.  a Track Attribute.  Let's use 
  1416.  Bright White on Green.
  1417.  Now we can draw the box by moving the cursor.  The  
  1418.  track "follows" us like an "Etch-a-Sketch".
  1419.  If we make a mistake, the backspace key "untracks". 
  1420. BAR     
  1421. CLR     "
  1422. CLR_W1  
  1423. CLR_W2  
  1424. CLR_W3  
  1425. CPY     ^
  1426. CTRL-C  
  1427. CTRL-F  
  1428. CTRL-G  
  1429. CTRL-J  
  1430. CTRL-K  C
  1431. CTRL-S  
  1432. CTRL-T  
  1433. CTRL-X  W
  1434. DIR     
  1435. DIR_W1  
  1436. DIR_W2  
  1437. DIR_W3  
  1438. DIR_W4  e
  1439. DIR_W5  
  1440. DSK1    
  1441. DSK2    
  1442. DSK3    
  1443. EDT     
  1444. EDT1    
  1445. EDT1_15A
  1446. EDT1_15B
  1447. EDT1_20Ap'
  1448. EDT1_20B|(
  1449. EDT1_W1 
  1450. EDT1_W10
  1451. EDT1_W11
  1452. EDT1_W12
  1453. EDT1_W13..
  1454. EDT1_W14
  1455. EDT1_W16
  1456. EDT1_W17'0
  1457. EDT1_W18
  1458. EDT1_W19
  1459. EDT1_W2 #3
  1460. EDT1_W21
  1461. EDT1_W22
  1462. EDT1_W23
  1463. EDT1_W24
  1464. EDT1_W25;>
  1465. EDT1_W26
  1466. EDT1_W3 
  1467. EDT1_W4 zB
  1468. EDT1_W5 RC
  1469. EDT1_W6 DD
  1470. EDT1_W7A,E
  1471. EDT1_W7B
  1472. EDT1_W8A=F
  1473. EDT1_W8B
  1474. EDT1_W9 
  1475. EDT2    
  1476. EDT2_W1 
  1477. EDT2_W10
  1478. EDT2_W11
  1479. EDT2_W12
  1480. EDT2_W13"N
  1481. EDT2_W14)O
  1482. EDT2_W15eP
  1483. EDT2_W16zR
  1484. EDT2_W17SS
  1485. EDT2_W2 
  1486. EDT2_W3A
  1487. EDT2_W3B
  1488. EDT2_W4 
  1489. EDT2_W5 yV
  1490. EDT2_W6 
  1491. EDT2_W7 
  1492. EDT2_W8 _Y
  1493. EDT2_W9 ?Z
  1494. EDT3    
  1495. EDT4    
  1496. EDT5    
  1497. EDT5_W1 
  1498. EDT5_W2 
  1499. EDT6    
  1500. EDT6_W1 Zg
  1501. EDT6_W10Ji
  1502. EDT6_W2 (j
  1503. EDT6_W3 uk
  1504. EDT6_W4 
  1505. EDT6_W5 
  1506. EDT6_W6 
  1507. EDT6_W7 kp
  1508. EDT6_W8     t
  1509. EDT6_W9 }u
  1510. EDT7    
  1511. EDT8    
  1512. EDT8_W1 G|
  1513. EDT8_W2 
  1514. EDT8_W3 a
  1515. EDT8_W4 
  1516. EDT8_W5 
  1517. EDT8_W6 
  1518. EDT8_W7 
  1519. EDT8_W8 T
  1520. EDT8_W9 L
  1521. EDT_W10 *
  1522. EDT_W11 
  1523. EDT_W12 :
  1524. EDT_W13 t
  1525. EDT_W1A 
  1526. EDT_W1B 
  1527. EDT_W2  
  1528. EDT_W3  
  1529. EDT_W4  s
  1530. EDT_W5  n
  1531. EDT_W6  
  1532. EDT_W7  
  1533. EDT_W8  _
  1534. EDT_W9  
  1535. EXIT    
  1536. FORM    
  1537. FORMAT  
  1538. HLP     
  1539. HLP_W1  2
  1540. HLP_W2  h
  1541. HLP_W3  
  1542. HLP_W4  
  1543. HLP_W5  
  1544. HLP_W6  
  1545. LOADEDIT
  1546. LOADFILE
  1547. MENU    Q
  1548. MRK1    
  1549. MRK2    3
  1550. MRK3    c
  1551. OPTIONS 
  1552. OPTS_W1 
  1553. OPTS_W2 W
  1554. OPTS_W3 
  1555. OPTS_W4 
  1556. OPTS_W5 
  1557. OPT_W1  
  1558. OPT_W2  
  1559. OPT_W3  
  1560. OPT_W4  
  1561. OPT_W5  [
  1562. OPT_W6  E
  1563. POINT   
  1564. RPT1    -
  1565. RPT2    I
  1566. RPT3    ;
  1567. RULER   ,
  1568. RULR_W1 
  1569. RULR_W2 2
  1570. SCR1    
  1571. SCR2    H
  1572. SCR3    
  1573. SEL     
  1574. SEL_W1  
  1575. SKEY    _
  1576. SMOV    
  1577. STRK    
  1578. TABLE   7
  1579. TABLE1  m
  1580. TBL1    [
  1581. TBL2    
  1582. TBL3    4
  1583. TBL4    
  1584. TBL5    
  1585. TBL6    
  1586. TBL7    
  1587. TBL8    
  1588. TBL9    
  1589. TBL_W1  H
  1590. TBL_W10 (
  1591. TBL_W11 
  1592. TBL_W12 
  1593. TBL_W13 
  1594. TBL_W14 
  1595. TBL_W15 v
  1596. TBL_W2  w
  1597. TBL_W3  
  1598. TBL_W4  z
  1599. TBL_W5  
  1600. TBL_W6  G
  1601. TBL_W7  
  1602. TBL_W8  
  1603. TBL_W9  x
  1604. TLR     (
  1605. TLR_W1  
  1606. TLR_W10 
  1607. TLR_W11 T
  1608. TLR_W12 
  1609. TLR_W13 
  1610. TLR_W14 
  1611. TLR_W15 
  1612. TLR_W16 
  1613. TLR_W17 d
  1614. TLR_W2  
  1615. TLR_W3  D
  1616. TLR_W4  
  1617. TLR_W5  W
  1618. TLR_W6  
  1619. TLR_W7  
  1620. TLR_W8  
  1621. TLR_W9  
  1622. TOPT    
  1623. TTL1    
  1624. TTL2    
  1625. UPDATING=
  1626. VATT    k
  1627. VBOX    [
  1628. VSCR    
  1629. VTRK    U
  1630. WHITE   W
  1631. WRITING 
  1632. WRK     
  1633. WRK1    
  1634. WRK2    F
  1635. WRK3    
  1636. WRK_SAV 
  1637. WRK_W1  8
  1638. WRK_W10 
  1639. WRK_W11 
  1640. WRK_W12 w
  1641. WRK_W13 V
  1642. WRK_W14 `
  1643. WRK_W15 
  1644. WRK_W16 
  1645. WRK_W2  
  1646. WRK_W3  
  1647. WRK_W4  
  1648. WRK_W5  W
  1649. WRK_W6  
  1650. WRK_W7  
  1651. WRK_W9  
  1652.